/*
 * @Description: 日期校验
 * @Project: 
 * @Author: michelle
 * @Date: 2022-02-23 11:04:36
 * @LastEditors: michelle
 * @LastEditTime: 2022-02-23 14:51:50
 * @Modified By: michelle
 * @FilePath: /vite-project/src/utils/date.jsx
 */
import moment from 'moment'
export const FORMAT_DATE = 'YYYY-MM-DD'
export function formatDate(date) {
    return moment(date).format(FORMAT_DATE)
}